package com.fla.aiba.entity.user;

import com.fla.aiba.entity.Entitys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 *用户钱包
 */
@Entity
@Table(name = "t_user_wallet")
public class Wallet  extends Entitys implements Serializable {
	private static final long serialVersionUID = 1L;
		 /**
		 	用户ID
		 **/
		 @Id
		 private String  userId ;
		 /**
		 	金额
		 **/
		 @Column(nullable = false)
		 private BigDecimal money ;



		public String getUserId() {
			return userId;
		}

		public void setUserId(String userId) {
			this.userId = userId;
		}

		public BigDecimal getMoney() {
			return money;
		}

		public void setMoney(BigDecimal money) {
			this.money = money;
		}
}